/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wf3.geo;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import wf.dto.geo.ConcapDto;
/**
 *
 * @author romulogalindo
 */
public class Concap implements Serializable{
    private Short co_concap;
    private String no_concap;
    private boolean il_visibl;
    private List<Entgeo> ls_entgeo;

    public Concap(ConcapDto dto) {
        this.co_concap = dto.getId().getCo_concap();
        this.no_concap = dto.getNo_concap();
        this.ls_entgeo = new ArrayList<>();
        this.il_visibl = dto.isIl_visibl();
    }

    public Short getCo_concap() {
        return co_concap;
    }

    public void setCo_concap(Short co_concap) {
        this.co_concap = co_concap;
    }

    public String getNo_concap() {
        return no_concap;
    }

    public void setNo_concap(String no_concap) {
        this.no_concap = no_concap;
    }

    public void add_Entgeo(Entgeo entgeo){
        this.ls_entgeo.add(entgeo);
    }
    public List<Entgeo> getLs_entgeo() {
        return ls_entgeo;
    }

    public void setLs_entgeo(List<Entgeo> ls_entgeo) {
        this.ls_entgeo = ls_entgeo;
    }

    public boolean isIl_visibl() {
        return il_visibl;
    }

    public void setIl_visibl(boolean il_visibl) {
        this.il_visibl = il_visibl;
    }

    
    
}
